/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.infor.entity.ProductAddress;
import com.jeeplus.modules.infor.mapper.ProductAddressMapper;

/**
 * 产地Service
 * @author 李超辉
 * @version 2018-01-15
 */
@Service
@Transactional(readOnly = true)
public class ProductAddressService extends CrudService<ProductAddressMapper, ProductAddress> {

	public ProductAddress get(String id) {
		return super.get(id);
	}
	
	public List<ProductAddress> findList(ProductAddress productAddress) {
		return super.findList(productAddress);
	}
	
	public Page<ProductAddress> findPage(Page<ProductAddress> page, ProductAddress productAddress) {
		return super.findPage(page, productAddress);
	}
	
	@Transactional(readOnly = false)
	public void save(ProductAddress productAddress) {
		super.save(productAddress);
	}
	
	@Transactional(readOnly = false)
	public void delete(ProductAddress productAddress) {
		super.delete(productAddress);
	}
	
}